﻿using System.Web;
using System.Web.Optimization;

namespace ETA.Web
{
    public class BundleConfig
    {
        // 有关 Bundling 的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/getPwd")
               .Include("~/Scripts/web/getPwd.js"));

            bundles.Add(new ScriptBundle("~/bundles/jquery")
                .Include("~/Scripts/jquerymin.js"));

            bundles.Add(new ScriptBundle("~/bundles/bootStrap")
               .Include("~/Scripts/bootstrapmin.js"));

            bundles.Add(new ScriptBundle("~/bundles/common")
               .Include("~/Scripts/web/blockUI.js").Include("~/Scripts/web/common.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/uploadify/uploadify.css").Include("~/Content/areo.css").Include("~/Content/site.css"));
            bundles.Add(new StyleBundle("~/Content/bootStrapCss")
            .Include("~/Content/boot/bootstrap.css")
            .Include("~/Content/boot/bootstrap-theme.css"));

            bundles.Add(new ScriptBundle("~/Bundles/Upload")
                .Include("~/Content/uploadify/uploadify.js")); //上传控件

            bundles.Add(new ScriptBundle("~/Bundles/SiteUpload")
               .Include("~/Scripts/web/SiteUpload.js")); //文件上传相关

            bundles.Add(new ScriptBundle("~/Bundles/Join")
             .Include("~/Scripts/web/Join.js")); //文件上传相关

            bundles.Add(new ScriptBundle("~/Bundles/chinaprovinces")
             .Include("~/Scripts/web/chinaprovinces.js")); //省市级联动

            bundles.Add(new ScriptBundle("~/Bundles/SOS")
             .Include("~/Scripts/web/SOS.js")); //海外援助

            bundles.Add(new ScriptBundle("~/Bundles/message")
             .Include("~/Scripts/web/message.js")); //站内消息

            bundles.Add(new ScriptBundle("~/Bundles/SosHandler")
            .Include("~/Scripts/web/SosHandler.js")); //海外援助处理后台

            bundles.Add(new ScriptBundle("~/Bundles/QA")
             .Include("~/Scripts/web/QA.js")); //QA

            bundles.Add(new ScriptBundle("~/Bundles/FinanceAdmin")
             .Include("~/Scripts/web/FinanceAdmin.js")); //积分操作管理员界面

            bundles.Add(new ScriptBundle("~/Bundles/JSTmp")
            .Include("~/Scripts/web/handlebars.js")); //js模版

            bundles.Add(new ScriptBundle("~/Bundles/Expand")
           .Include("~/Scripts/web/Expand.js")); //出国快车

            bundles.Add(new ScriptBundle("~/Bundles/Introduce")
          .Include("~/Scripts/web/Introduce.js")); //项目介绍

            bundles.Add(new ScriptBundle("~/Bundles/ArtDialog")
           .Include("~/Scripts/web/artDialog.js")); //弹窗

            bundles.Add(new ScriptBundle("~/bundles/Register")
               .Include("~/Scripts/web/Register.js"));
            bundles.Add(new ScriptBundle("~/bundles/Login")
               .Include("~/Scripts/web/Login.js"));
            bundles.Add(new ScriptBundle("~/bundles/Index")
              .Include("~/Scripts/web/Index.js"));
            bundles.Add(new ScriptBundle("~/bundles/placeholder")
              .Include("~/Scripts/web/jquery.placeholder.js"));
            bundles.Add(new ScriptBundle("~/bundles/FillRegistrationForm")
              .Include("~/Scripts/web/FillRegistrationForm.js"));
            bundles.Add(new ScriptBundle("~/bundles/Page")
             .Include("~/Scripts/web/jquery.pagination.js"));
            bundles.Add(new ScriptBundle("~/bundles/RegistHandler")
             .Include("~/Scripts/web/RegistHandler.js"));
            bundles.Add(new ScriptBundle("~/bundles/WebAdmin")
             .Include("~/Scripts/web/WebAdmin.js"));
            bundles.Add(new ScriptBundle("~/bundles/ICenter")
             .Include("~/Scripts/web/ICenter.js"));
            bundles.Add(new ScriptBundle("~/bundles/WdatePicker").Include(
           "~/Scripts/web/My97DatePicker/WdatePicker.js"));
        }
    }
}